//参数信息
<template>
  <div
    class="details-param-info"
    v-if="!this.CommonUtils.isEmpty(itemInfo)&&!this.CommonUtils.isEmpty(itemInfo.rule)&&!this.CommonUtils.isEmpty(itemInfo.rule.tables)"
  >
    <!-- 尺码部分 -->
    <div
      class="rule-size"
      v-for="(item,index) in itemInfo.rule.tables[0] "
      :key="'rule-size'+index"
    >
      <div class="children" v-for="(cItem,cIndex) in item" :key="'children'+cIndex">
        <div class="item-children">{{cItem}}</div>
      </div>
    </div>

    <!-- 产地,厂家相关信息 -->
    <div
      class="address-vender"
      v-for="(item,index) in (itemInfo.info.set)"
      :key="'address-vender'+index"
    >
      <div class="key">{{item.key}}</div>
      <div class="value">{{item.value}}</div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  created() {},
  methods: {},
  computed: {},
  components: {},
  props: {
    itemInfo: {
      type: Object,
      default: {}
    }
  }
};
</script>
<style lang="scss" scoped>
.details-param-info {
  font-size: 14px;
  margin: 10px 8px;
  //商品基本信息
  .rule-size {
    border-bottom: 1px solid rgba(100, 100, 100, 0.1);
    display: flex;
    line-height: 40px;
    .children {
      display: flex;
      flex: 1;
      .item-children {
        flex: 1;
      }
    }
  }
  //产地,厂家相关信息
  .address-vender {
    border-bottom: 1px solid rgba(100, 100, 100, 0.1);
    display: flex;
    line-height: 40px;
    .key {
      flex: 1;
    }
    .value {
      flex: 3;
      color: var(--color-high-text);
    }
  }
}
</style>